﻿package test 
{
	/**
	 * ...
	 * @author JamesXie
	 */
	public class PlayerData
	{
		private var _name:String;
		private var _hp:int;
		private var _at:int;
		private var _df:int;
		private var _speed:int;
		
		public function PlayerData(pname:String,php:int,pat:int,pdf:int,pspeed:int) 
		{
			_name = pname;
			_hp = php;
			_at = pat;
			_df = pdf;
			_speed = pspeed;
		}
		
		public function set name(value:String) :String{
			_name=value;
		}
		
		public function get name() :String{
			return _name;
		}
		
		public function set hp(value:String) :int{
			_hp=value;
		}
		
		public function get hp() :int{
			return _hp;
		}
		
		public function set at(value:String) :int{
			_at=value;
		}
		
		public function get at() :int{
			return _at;
		}
		
		public function set df(value:String) :int{
			_df=value;
		}
		
		public function get df() :int{
			return _df;
		}
		
		public function set speed(value:String) :int{
			_speed=value;
		}
		
		public function get speed() :int{
			return _speed;
		}
		
	}

}